package com.layui.ad.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

/**
* Created by Mybatis Generator 2018/12/11
*/
@Data
@Component
public class BrokerInfo extends Model<BrokerInfo> implements Serializable {
    private static final long serialVersionUID = 1L;
    /* 经纪人ID*/
    @TableId(type = IdType.AUTO)
    private Integer brokerid;

    /* 经纪人姓名*/
    private String bname;

    /* 经纪人等级*/
    private String userGrade;

    /* erp用户头衔*/
    private Integer usertitle;

    /* 城市id*/
    private Integer companysid;

    /* 门店ID*/
    private Integer shopsid;

    /* 门店名称*/
    private String shopname;

    /* 逻辑门店*/
    private Integer teamid;

    /* 逻辑门店名称*/
    private String teamname;

    /* 组团id*/
    private Integer groupid;

    /* 组团名称*/
    private String groupname;

    /* 大区id*/
    private Integer areaid;

    /* 大区名称*/
    private String areaname;

    /* 用户系统权限(10:管理员 20:普通用户)*/
    private Byte userAuth;

    /* 入职日期*/
    private Date enterDtStr;

    /* 虚拟号*/
    private String virtualTel;

    /* 电话*/
    private String mobile;

    /* 网络经纪人（1.是  2.否）*/
    private Integer netBroker;

    /* 经纪人状态(1.离职  2.在职等)*/
    private Integer userStatus;

    /* 屏蔽状态*/
    private Integer viewStatus;

    /* 屏蔽 1-正常 2屏蔽*/
    private Integer offState;

    /* 屏蔽截至日期*/
    private Date offDt;

    /* 工作资格证图片*/
    private String jobImg;

    /* 二维码图片*/
    private String wechatImg;

    /* 资格证上传日期*/
    private Date imgUpDt;

    /* 1:审批通过 2:不合格*/
    private Integer jobImgState;

    /* 熟悉区域*/
    private Integer devoteDistId;

    /* 熟悉商圈*/
    private Integer devoteAreaId;

    /* 从业年限*/
    private Integer enterYear;

    /* 经纪人积分*/
    private Float brokerPoints;

    /* 积分更新时间*/
    private Date pointDt;

    /* 熟悉小区一*/
    private Integer devoteCmtySt;

    /* 熟悉小区二*/
    private Integer devoteCmtyNd;

    /* 熟悉小区三*/
    private Integer devoteCmtyRd;

    /* 熟悉小区四*/
    private Integer devoteCmtyTh;

    /* 推荐房源房源id*/
    private Integer recomHouseSt;

    /* 推荐房源房源id*/
    private Integer recomHouseNd;

    /* 推荐房源房源id*/
    private Integer recomHouseRd;

    /* 推荐房源房源id*/
    private Integer recomHouseTh;

    /* 性别*/
    private Integer sex;

    /* 推荐房源字符串*/
    private String recommendHouse;

    /* 头像图片路径*/
    private String brokerimg;

    /* 经纪人被关注次数*/
    private Integer attentionCnt;

    /* 客户评分*/
    private Float evaluateVal;

    /* 30天接单率*/
    private Float receiveRate;

    /* 更新时间*/
    private Date updatedt;

    /* 数据更新版本*/
    private Integer udpatever;

    /* 表更新版本*/
    private Long udpatetabver;

    @Override
    protected Serializable pkVal() {
        return this.brokerid;
    }
}